package com.bicon.base.data.common.tools;

import java.util.List;


/**
 * 
  *@ClassName: ResponseMessage 
  *@Description: TODO(这里用一句话描述这个类的作用) 
  *@author cssuger@163.com 
 * @param <T>
  *@date 2016年11月23日 下午5:19:31 
  *@param <T>
 */
public class MessageTip<T> implements java.io.Serializable {

    /**
	 * 
	 */
    private static final long serialVersionUID = 6082737145802744423L;

    private String state;

    private String code;

    private String tip;

    private List<T> list;

    private T t;
    

    
    public MessageTip(){
    	
    }
    
    public MessageTip(String state, String code, String tip, T t) {
        this.state = state;
        this.code = code;
        this.t = t;
    }

    public MessageTip(String state, String code, String tip) {
        this.state = state;
        this.code = code;
        this.tip = tip;
    }

    public MessageTip(String state, List<T> list) {
        this.state = state;
        this.list = list;
    }

    public MessageTip(String state,T t) {
        this.state = state;
       
        this.t = t;
    }
   

    public MessageTip(String state, String tip) {
        this.state = state;
        this.tip = tip;

    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getTip() {
        return tip;
    }

    public void setTip(String tip) {
        this.tip = tip;
    }

   

    public T getT() {
		return t;
	}

	public void setT(T t) {
		this.t = t;
	}

	public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

   

   

}
